using OrangeProject.ReactiveList.Core.Communication;
using OrangeProject.ReactiveList.Core.Entities;

namespace OrangeProject.ReactiveList.Core.Server
{
    public interface IRouter<T> where T : IEntity
    {
        DataBody receivedBody { get; set; }
        DataBody sendingBody { get; set; }
        T[] Create(T[] data);
        T[] Update(T[] data);
        T[] Read();
        T[] Delete(T[] data);
    }
}

